﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Controls/HomePage.master" AutoEventWireup="true" CodeFile="Contact.aspx.cs" Inherits="Pages_Contact" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <div class="content_sp">
        <div class="page">

            <div class="slide_gt">
                <div class="slide_gt1">
                    <p>Liên hệ</p>
                </div>
            </div>
            <!-- end slide_gt -->
            <script src="https://maps.googleapis.com/maps/api/js?v=3.exp&sensor=false"></script>
            <script>
                var map;
                function initialize() {
                    var mapOptions = {
                        zoom: 16,
                        center: new google.maps.LatLng(21.037267, 105.856919),
                        mapTypeId: google.maps.MapTypeId.ROADMAP
                    };
                    map = new google.maps.Map(document.getElementById('map-canvas'),
                        mapOptions);
                }

                google.maps.event.addDomListener(window, 'load', initialize);

            </script>
            <div class="noidung" id="map-canvas" style="width: 920px; height: 310px;">
            </div>
            <!-- end noidung -->
            <div class="noidung2">
                <div class="cot_t">
                    <div class="title2">Gửi thư cho Vườn trong phố</div>
                    <div class="dong5">
                        <p>Họ và tên</p>
                        <asp:TextBox ID="tbxName" runat="server"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ErrorMessage="*" ControlToValidate="tbxName"></asp:RequiredFieldValidator><div class="clear"></div>
                    </div>
                    <div class="dong5">
                        <p>Điện thoại</p>
                        <asp:TextBox ID="tbxPhone" runat="server"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ErrorMessage="*" ControlToValidate="tbxPhone"></asp:RequiredFieldValidator><div class="clear"></div>
                    </div>
                    <div class="dong5">
                        <p>Email</p>
                        <asp:TextBox ID="tbxEmail" runat="server"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ErrorMessage="*" ControlToValidate="tbxEmail"></asp:RequiredFieldValidator>
                        <asp:RegularExpressionValidator ID="regexEmailValid" runat="server" ValidationExpression="\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*" ControlToValidate="tbxEmail" ErrorMessage="Chưa đúng định dạng"></asp:RegularExpressionValidator><div class="clear"></div>
                    </div>
                    <div class="dong5">
                        <p>Nội dung</p>
                        <asp:TextBox ID="tbxContent" runat="server"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ErrorMessage="*" ControlToValidate="tbxContent"></asp:RequiredFieldValidator><div class="clear"></div>
                    </div>
                    <div class="dong5">
                        <p>&nbsp;</p>
                        <%--<button class="button2">Gửi&nbsp;thư</button>--%>
                        <asp:Button runat="server" ID="btnSubmit" CssClass="button2" Text="Gửi thư" Font-Size="16px" Style="margin-bottom: 10px; margin-right: 10px; padding: 5px 20px; width: auto;" OnClick="btnSubmit_Click" />
                        <%--<button class="button2">Viết lại</button>--%>
                        <asp:Button runat="server" ID="Button1" CssClass="button2" Text="Viết lại" Font-Size="16px" Style="margin-bottom: 10px; margin-right: 10px; padding: 5px 20px; width: auto;" OnClick="Button1_Click" />
                        <div class="clear"></div>
                    </div>
                </div>
                <!-- end cot_t -->

                <div class="cot_p1">
                    <div class="cot_p2">
                        <div class="title1">
                            <h3>ĐỊA CHỈ</h3>
                        </div>
                        <div class="dong4">
                            <p>Vườn trong phố</p>
                            <span>Trụ sở chính: số 15A, viện nghiên cứu rau quả, An Lạc, TT Châu Quỳ, Gia Lâm, HN<br />
                                Điện thoại: 04.8589.4466 
                                <br />
                                Hotline: 0914.917.917</span>
                            <div class="clear"></div>
                        </div>
                        <!-- end dong3 -->
                    </div>
                </div>
                <!-- end cot_p -->
                <div class="clear"></div>
            </div>
            <!-- end noidung2 -->
        </div>
        <!-- end page -->
    </div>
</asp:Content>

